package database;

import webservice.Playlist;
import webservice.Track;

/**
 * Created with IntelliJ IDEA.
 * User: Serhat
 * Date: 13-6-13
 * Time: 11:40
 * To change this template use File | Settings | File Templates.
 */
public interface IDAO {
    Track selectTrackById(int id);

    int createPlaylist(int userid, String playlistname);

    void insertSingleTrackInPlaylist(int playlistid, int trackid);

    int insertSingleTrack(String title, String artists, String album);

    void insertUser(String user);

    public void insertPlaylist(Playlist playlist);

    public int getUserId(String username);
}
